Package com.cisco.pt.ipc.sim
Interface HostIp
- All Known Implementing Classes:
HostIpImpl
Information provided by the PKI file:
\class HostIp
\brief HostIp handles and manipulates the default gateway on end devices.
\example network().getDevice("PC0").getProcess("HostIpProcess")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:voidsetDefaultGateway(IPAddress gatewayIp) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
setDefaultGateway
Information provided by the PKI file:
\brief Sets the default gateway with the specified IP address. \param gatewayIp, the IP address of the gateway.- Parameters:
gatewayIp- Takes in a parameter of gatewayIp
-
getDefaultGateway
IPAddress getDefaultGateway()Information provided by the PKI file:
\brief Returns the IP address of the default gateway. \return ip, the IP address of the default gateway.- Returns:
- IPAddress Returns a IPAddress
-